package com.crm.common.crm.entity.PO;


import com.baomidou.mybatisplus.annotation.*;
import com.crm.common.ka.core.servlet.upload.FileEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("hp_crm_headquarters_business")
@ApiModel(value="CrmHeadquartersBusiness对象", description="总部充值表")
public class CrmHeadquartersBusiness implements Serializable {

    private static final long serialVersionUID=1L;


    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "部门Id")
    private Integer deptId;

    @ApiModelProperty(value = "部门")
    private String deptName;

    @ApiModelProperty(value = "充值金额")
    private BigDecimal topUpPrice;

    @ApiModelProperty(value = "充值渠道")
    private String topUpSource;

    @ApiModelProperty(value = "充值时间")
    private Date topUpDate;

    @ApiModelProperty(value = "充值截图名称")
    private String topUpFileName;

    @ApiModelProperty(value = "充值截图")
    private String batchId;

    @ApiModelProperty(value = "创建人ID")
    @TableField(fill = FieldFill.INSERT)
    private Long createUserId;

    @ApiModelProperty(value = "创建人")
    private String createUserName;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "更新人ID")
    @TableField(fill = FieldFill.UPDATE)
    private Long updateUserId;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "文件对象")
    private List<FileEntity> fileList;


}
